package com.hx.bean;

public class Student {
    private String name;
    private String number;
    public String sex;
    public int age;

    public int add(int x, int y) {
        this.age= x + y;
        return this.age;
    }

    public Student(String name, String number, int age) {
        this.name = name;
        this.number = number;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }
}
